<template>
  <div class="hello">
    <h1>目录</h1>

    <ul>
      <li><router-link to="/ex1">绑定自定义事件</router-link></li>
      <li><router-link to="/ex2">父子组件进行双向数据绑</router-link></li>
      <li><router-link to="/ex3">短信倒计时组件</router-link></li>
      <li><router-link to="/ex4">时间倒计时组件</router-link></li>


    </ul>

  </div>
</template>

<script>
export default {
  name: 'hello',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1, h2 {
  font-weight: normal;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {

  margin: 0 10px;
}

a {
  color: #42b983;
}
</style>
